#ifndef HANDSMOVEEVENT_H
#define HANDSMOVEEVENT_H

#include "mlgesture_global.h"

#include "gestureevent.h"
#include <cv.h>
#include <vector>

namespace mlgesture {

class MLGESTURESHARED_EXPORT HandsMoveEvent : public GestureEvent
{
public:
	HandsMoveEvent(const std::vector<cv::Point> centers, const std::vector<cv::Rect> &rects);

	void getCenters(std::vector<cv::Point>& centers) const;
	void getRects(std::vector<cv::Rect>& rects) const;
	float getAngle() const;
	float getDistance() const;

private:
	std::vector<cv::Point> centers_;
	std::vector<cv::Rect> rects_;
	float angle_;
	float distance_;
};

}

#endif // HANDSMOVEEVENT_H
